Skip to content

Conversation

@adityathebe
Copy link
Member

@adityathebe adityathebe commented Oct 3, 2025

Summary

  • redirect catalog config base URL to the first available tab
  • surface config-attached views before static tabs and respect ordinal
  • rename the spec tab and align routing with the new default

resolves: #2639

@netlify
Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for goofy-euclid-75956c ready!

Name Link
🔨 Latest commit 36ba105
🔍 Latest deploy log https://app.netlify.com/projects/goofy-euclid-75956c/deploys/68dff2f47f6c87000895f388
😎 Deploy Preview https://deploy-preview-2640--goofy-euclid-75956c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for flanksource-demo-stable ready!

Name Link
🔨 Latest commit 36ba105
🔍 Latest deploy log https://app.netlify.com/projects/flanksource-demo-stable/deploys/68dff2f40c1ca9000885f751
😎 Deploy Preview https://deploy-preview-2640--flanksource-demo-stable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel
Copy link

vercel bot commented Oct 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
aws-preview Ready Ready Preview Oct 3, 2025 4:07pm
flanksource-ui Ready Ready Preview Oct 3, 2025 4:07pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adjusts the default tab ordering and routing for config detail pages by redirecting the catalog base URL to the first available tab and prioritizing config-attached views over static tabs.

  • Implements automatic redirection to the first available tab when accessing catalog config base URLs
  • Reorders tabs to surface config-attached views before static tabs and respects ordinal ordering
  • Renames the "Catalog" tab to "Spec" and updates routing accordingly

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/pages/config/details/ConfigDetailsIndexRedirect.tsx New redirect component that automatically navigates to the first available tab
src/components/Configs/ConfigTabsLinks.tsx Reorders tabs to prioritize views, adds ordinal sorting, and renames Catalog to Spec
src/pages/config/details/ConfigDetailsPage.tsx Updates active tab name from "Catalog" to "Spec"
src/components/Configs/ConfigDetailsTabs.tsx Updates type definitions and default values for the renamed tab
src/api/services/views.ts Adds ordinal field to ViewListItem type
src/App.tsx Adds routing for the new redirect component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@netlify
Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for clerk-saas-ui ready!

Name Link
🔨 Latest commit 36ba105
🔍 Latest deploy log https://app.netlify.com/projects/clerk-saas-ui/deploys/68dff2f463db0a0008ddaad8
😎 Deploy Preview https://deploy-preview-2640--clerk-saas-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@moshloop moshloop merged commit f49aa04 into main Oct 9, 2025
16 of 18 checks passed
@moshloop moshloop deleted the feat/config-views-first branch October 9, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

View | display.config must show as the first tab in config

3 participants